<template>
  <div>
    <h3>grandson</h3>
    <p>money:{{ money }}</p>
    <p>
      <button @click="send">send</button>
    </p>
  </div>
</template>

<script setup>
import { ref, inject } from 'vue'

const money = inject('money')
const fn = inject('fn')

const send = () => {
  fn(60000000000)
}
</script>

<style scoped></style>
